﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="search.aspx.cs" Inherits="Electure.search" %>
<%@ Register TagPrefix="uc" TagName="PublicationListControl" Src="~/Controls/PublicationListControl.ascx" %>
<%@ Register TagPrefix="uc" TagName="NewsListControl" Src="~/Controls/NewsListControl.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">                
    <div class="right-inner-addon" style="margin-bottom:10px;">
        <i class="icon-search"></i>
        <input type="search" class="form-control" placeholder="Пошук" runat="server" id="tbSearch" />
    </div>    
    <div class="panel-group" id="accordion">
        <div class="panel panel-default" id="panel1">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-target="#collapsePubl" href="#collapsePubl">
                        Пошук у відеоматеріалах (<asp:Label ID="lbPublCount" runat="server" Text=""></asp:Label>)
                    </a>
                </h4>
            </div>
            <div id="collapsePubl" class="panel-collapse collapse in" clientidmode="Static" runat="server">
                <div class="panel-body">
                    <uc:PublicationListControl ID="publicationsList" runat="server" />
                    <asp:Label ID="lbPublNotFound" runat="server" Text="За заданими результатами пошуку нічого не знайдено"></asp:Label>
                </div>
            </div>
        </div>  
        <div class="panel panel-default" id="panel2">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-target="#collapseNews" href="#collapseNews">
                        Пошук у новинах (<asp:Label ID="lbNewsCount" runat="server" Text=""></asp:Label>)
                    </a>
                </h4>
            </div>
            <div id="collapseNews" class="panel-collapse collapse in" clientidmode="Static" runat="server">
                <div class="panel-body">
                    <uc:NewsListControl ID="newsListControl" runat="server" />
                    <asp:Label ID="lbNewsNotFound" runat="server" Text="За заданими результатами пошуку нічого не знайдено"></asp:Label>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
